<tr>
    <td class="label">
        <label for="{{labelfor}}">
        {{label}}
        {% if required %}
        &nbsp;<span class="required">(*)</span>
        {% endif %}
        </label>
    </td>
    <td>
        <div class="twoFields">
            <input type="text" id="{{idForDate}}" name="{{idForDate}}" dojoType="phpr.DateTextBox"
            required="{{required}}" {{disabled}}
            invalidMessage="{{invalidDateMessage}}" value="{{valueForDate}}"
            onchange="dijit.byId('{{id}}').set('value',
            phpr.date.getIsoDatetime(this.value, dijit.byId('{{idForTime}}').get('value')));"
            dojoAttachPoint="fieldNode" />
            <input type="text" id="{{idForTime}}" name="{{idForTime}}" value="T{{valueForTime}}"
            dojoType="dijit.form.TimeTextBox" required="{{required}}" {{disabled}}
            constraints="{formatLength: 'short', timePattern: 'HH:mm'}"
            onchange="dijit.byId('{{id}}').set('value',
                phpr.date.getIsoDatetime(dijit.byId('{{idForDate}}').get('value'), this.value));" />
            <input type="hidden" id="{{id}}" name="{{id}}" value="{{value}}"
            dojoType="dijit.form.TextBox" required="{{required}}" {{disabled}} />
        </div>
    </td>
    <td>
        {{tooltip|safe}}
    </td>
</tr>
